package cn.stronglink.assetmanage.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by Tgb on 2018/6/13.
 */
@Entity
public class Model {
    @Id
    private Long model_id;           //主键id
    @Property
    private String id_;
    @Property
    private String name;
    @Property
    private String typeId_;
    @Property
    private String brandId_;
    public String getBrandId_() {
        return this.brandId_;
    }
    public void setBrandId_(String brandId_) {
        this.brandId_ = brandId_;
    }
    public String getTypeId_() {
        return this.typeId_;
    }
    public void setTypeId_(String typeId_) {
        this.typeId_ = typeId_;
    }
    public String getName() {
        return this.name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getId_() {
        return this.id_;
    }
    public void setId_(String id_) {
        this.id_ = id_;
    }
    public Long getModel_id() {
        return this.model_id;
    }
    public void setModel_id(Long model_id) {
        this.model_id = model_id;
    }
    @Generated(hash = 962628657)
    public Model(Long model_id, String id_, String name, String typeId_,
            String brandId_) {
        this.model_id = model_id;
        this.id_ = id_;
        this.name = name;
        this.typeId_ = typeId_;
        this.brandId_ = brandId_;
    }
    @Generated(hash = 2118404446)
    public Model() {
    }
    @Override
    public String toString() {
        return name;
    }
}
